package br.ufpe.cin.imlm2.util.options;

public class NoSuchOptionException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String invalidOtion;

	public NoSuchOptionException( String invalidOpt, String message ) {
		super( message );
		this.invalidOtion = invalidOpt;
	}

	public NoSuchOptionException( String invalidOpt, Throwable cause ) {
		super( cause );
		this.invalidOtion = invalidOpt;
	}

	public NoSuchOptionException( String invalidOpt, String message, Throwable cause ) {
		super( message, cause );
		this.invalidOtion = invalidOpt;
	}

	public String getInvalidOtion() {
		return this.invalidOtion;
	}

}
